<?php

namespace services\models;

/**
 * This is the ActiveQuery class for [[\common\models\SpecValue]].
 *
 * @see \common\models\SpecValue
 */
class SpecValue extends \common\models\SpecValue
{
    public static function getDb() {
        return \Yii::$app->db;
    }
    
    public static function getListById($spec_value_id) {
        $vars = self::find()->where('id=:id',[':id'=>$spec_value_id])->one();
        return \yii\helpers\ArrayHelper::toArray($vars);
    }
}
